<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>车辆管理</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		$(document).ready(function() {
		});
	</script>
</head>
<body class="gray-bg">
	<div class="wrapper wrapper-content">
	
	
	
	<!-- 表格 -->
	<table id="contentTable" class="table table-striped table-bordered table-hover table-condensed dataTables-example dataTable">
		<thead>
			<tr>
				<th  class="sort-column id">车牌</th>
				<th  class="sort-column mobile">手机号</th>
				<th  class="sort-column illegal">违章次数</th>
				<th  class="sort-column money">罚款金额</th>
				<th  class="sort-column fen">扣分</th>
				<th  class="sort-column untreated">未处理</th>
				<th  class="sort-column paid">已缴纳合计</th>
				<th  class="sort-column engineid">发动机号</th>
				<th  class="sort-column vin">车架号</th>
				<th  class="sort-column city">城市</th>
				<th  class="sort-column createDate">创建时间</th>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${carList}" var="car">
			<tr>
				<td>
					${car.id}
				</td>
				<td>
					${car.mobile}
				</td>
				<td>
					<a href="#" onclick="openDialogView('${car.id}违章记录', '${ctx}/it/wzLog/list?licensePlate='+encodeURIComponent('${car.id}'),'900px', '500px')"  > ${car.illegal}</a>
				</td>
				<td>
					${car.money}
				</td>
				<td>
					${car.fen}
				</td>
				<td>
					${car.untreated}
				</td>
				<td>
					${car.paid}
				</td>
				<td>
					${car.engineNO}
				</td>
				<td>
					${car.carVIN}
				</td>
				<td>
					${car.city}
				</td>
				<td>
					<fmt:formatDate value="${car.createDate}" pattern="yyyy-MM-dd HH:mm:ss"/>
				</td>
				
			</tr>
		</c:forEach>
		</tbody>
	</table>
	
</div>
</body>
</html>